package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADScrePlanRelGroupDao;
import com.letfox.ad.model.ADScrePlanRelGroup;
import com.letfox.ad.service.AdScrePlanRelGroupService;
@Service
public class AdScrePlanRelGroupServiceImpl implements AdScrePlanRelGroupService {
	
	@Autowired
	private ADScrePlanRelGroupDao aDScrePlanRelGroupDao;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return aDScrePlanRelGroupDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADScrePlanRelGroup record) {
		return aDScrePlanRelGroupDao.insert(record);
	}

	@Override
	public ADScrePlanRelGroup selectByPrimaryKey(Long id) {
		return aDScrePlanRelGroupDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(ADScrePlanRelGroup record) {
		return aDScrePlanRelGroupDao.updateByPrimaryKey(record);
	}

}
